from fastapi import FastAPI
from starlette.staticfiles import StaticFiles  # 先引用包
from apps.app01.urls import hyperlpr
from apps.app02.urls import shop
from apps.app03.urls import sunInfo
from apps.app04.urls import carInfo

app = FastAPI(title="FastAPI", version="3.0.0")
app.mount('/static', StaticFiles(directory='static'), name='static')

app.include_router(hyperlpr, prefix='/hyperlpr', tags=['用户中心'])
app.include_router(shop, prefix='/shop', tags=['购物中心'])
app.include_router(sunInfo, prefix='/sunInfo', tags=['表单数据'])
app.include_router(carInfo, prefix='/carInfo', tags=['车牌数据'])